registerTests([
function Take_Test_0()
{
	var myArray = [1, 2, 3, 4];
	//Returns [1, 2]
	var result = myArray.Take(2);
	Assert.areEqual(result.length, 2);
	Assert.areEqual(result[0], 1);
	Assert.areEqual(result[1], 2);
	
	//Returns [1, 2, 3, 4]
	result = myArray.Take(50);
	Assert.areEqual(result.length, 4);
	Assert.areEqual(result[0], 1);
	Assert.areEqual(result[1], 2);
	Assert.areEqual(result[2], 3);
	Assert.areEqual(result[3], 4);
},
]);